﻿using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace Text.Model
{
    /// <summary>
    /// 会员信息表
    /// </summary>
    [Table("AdminModel")]
    public class AdminModel
    {
        /// <summary>
        /// 主键
        /// </summary>
        [Key]
        public int UserId { get; set; }
        /// <summary>
        /// 用户名称
        /// </summary>
        public string UserName { get; set; }
        /// <summary>
        /// 用户性别
        /// </summary>
        public int UserSex { get; set; }
        /// <summary>
        /// 用户手机号
        /// </summary>
        public string UserPhone { get; set; }
        /// <summary>
        /// 用户会员等级
        /// </summary>
        public string UserLevel { get; set; }
        /// <summary>
        /// 花费金额
        /// </summary>
        public int UserBuyqian { get; set; }
        /// <summary>
        /// 消费次数
        /// </summary>
        public int UserPayNumber { get; set; }
        /// <summary>
        /// 积分
        /// </summary>
        public int UserPotins { get; set; }
        /// <summary>
        /// 余额
        /// </summary>
        public int UserMoney { get; set; }
        /// <summary>
        /// 状态
        /// </summary>
        public bool UserState { get; set; } = false;
        public DateTime UserTime { get; set; } = DateTime.Now;

    }
}
